package com.example.tianyidemo.Mapper;

import com.example.tianyidemo.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface PersonageupdateMapper {
    @Update("UPDATE user SET userName = #{userName},gender = #{gender}, userPwd = #{userPwd}, userImg = #{userImg}, " +
            "  signature = #{signature}, adress = #{adress}, " +
            "personalprofile = #{personalprofile} WHERE userEmail = #{userEmail}")
    int updateByPrimaryKey(User updatedUser);
}
